package secondriver.springsubway.example.jpa;

import javax.persistence.Embeddable;

@Embeddable
public class Address {

	private String provence;

	private String country;

	private String street;

	private String zip;

	public String getProvence() {
		return provence;
	}

	public void setProvence(String provence) {
		this.provence = provence;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getZip() {
		return zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

	@Override
	public String toString() {
		return "Address [provence=" + provence + ", country=" + country
				+ ", street=" + street + ", zip=" + zip + "]";
	}
}
